package com.michael.demo.springcloud.alibaba.seata.storage.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.michael.demo.springcloud.alibaba.seata.storage.entity.Storage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 类功能描述:
 * <pre>
 *   xxxx
 * </pre>
 *
 * @author Michael
 * @version 1.0
 * @date 2021/04/01 16:47
 */
@Mapper
public interface StorageMapper extends BaseMapper<Storage> {

    int deductByCode(@Param("code") String code, @Param("count") Integer count);
}
